<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/9/6 0006
 * Time: 下午 3:26
 */
namespace App\Http\Controllers\Home;

use App\Services\GoodsCategoryService;
use App\Services\GoodsService;

class ProductController extends BaseController{
    private $goodsService = null;
    private $goodsCategoryService = null;
    public function __construct(GoodsCategoryService $categoryService,GoodsService $goodsService)
    {
        parent::__construct($categoryService);
        $this->goodsCategoryService = $categoryService;
        $this->goodsService = $goodsService;
    }

    public function goodsDetail(){
        return view('home.product.productDetail',[
            'title'  => '产品详情',
            'cates'    => $this->all_cate,
        ]);
    }
}